#include "BaddieData.h"

BaddieData::BaddieData(void)
{

}

BaddieData::~BaddieData(void)
{
    objectsPointValue.clear();
    objectsSpeed.clear();
    objectsDisabled.clear();
    objectsDisabledTimer.clear();
    objectsDisabledStart.clear();
}

void
BaddieData::AddObject(int id)
{
    objectsPointValue.push_back(0);
    objectsSpeed.push_back(0.f);
    objectsDisabled.push_back(false);
    objectsDisabledTimer.push_back(0);
    objectsDisabledStart.push_back(0);
}

void
BaddieData::RemoveObject(int id)
{
    int index = GetIndex(id);
    if (index != -1)
    {
        objectsPointValue.erase(objectsPointValue.begin()+index);
        objectsSpeed.erase(objectsSpeed.begin()+index);
        objectsDisabled.erase(objectsDisabled.begin()+index);
        objectsDisabledTimer.erase(objectsDisabledTimer.begin()+index);
        objectsDisabledStart.erase(objectsDisabledStart.begin()+index);
    }
}

int
BaddieData::GetPointValue(int id)
{

    return 0;
}

void
BaddieData::SetPointValue(int id, int value)
{

}

float
BaddieData::GetSpeed(int id)
{

    return 0.f;
}

void
BaddieData::SetSpeed(int id, float value)
{

}

bool
BaddieData::IsDisabled(int id)
{

    return false;
}

void
BaddieData::SetDisabled(int id, bool value)
{

}

unsigned int
BaddieData::GetDisabledTimer(int id)
{

    return 0;
}

void
BaddieData::SetDisabledTimer(int id, unsigned int value)
{

}

unsigned int
BaddieData::GetDisabledStart(int id)
{

    return 0;
}

void
BaddieData::SetDisabledStart(int id, unsigned int value)
{

}
